﻿using TradeDataAPI.Core.BaseProvider;
using TradeDataAPI.Core.Extensions.AutofacManager;
using TradeDataAPI.Entity.DomainModels;
using TradeDataAPI.System.IRepositories;
using TradeDataAPI.System.IServices;

namespace TradeDataAPI.System.Services
{
    public partial class SysMenuService : ServiceBase<SysMenu, ISysMenuRepository>, ISysMenuService, IDependency
    {
        public SysMenuService(ISysMenuRepository repository)
             : base(repository)
        {
            Init(repository);
        }
        public static ISysMenuService Instance
        {
            get { return AutofacContainerModule.GetService<ISysMenuService>(); }
        }
    }
}

